-- Do not manually edit this file, it was auto-generated by dillonkearns/elm-graphql
-- https://github.com/dillonkearns/elm-graphql


module Qore.Object.Table exposing (..)

import Graphql.Internal.Builder.Argument as Argument exposing (Argument)
import Graphql.Internal.Builder.Object as Object
import Graphql.Internal.Encode as Encode exposing (Value)
import Graphql.Operation exposing (RootMutation, RootQuery, RootSubscription)
import Graphql.OptionalArgument exposing (OptionalArgument(..))
import Graphql.SelectionSet exposing (SelectionSet)
import Json.Decode as Decode
import Qore.InputObject
import Qore.Interface
import Qore.Object
import Qore.Scalar
import Qore.ScalarCodecs
import Qore.Union


head : SelectionSet decodesTo Qore.Object.Head -> SelectionSet (Maybe decodesTo) Qore.Object.Table
head object_ =
    Object.selectionForCompositeField "head" [] object_ (identity >> Decode.nullable)


tgroup : SelectionSet decodesTo Qore.Object.Tgroup -> SelectionSet (List decodesTo) Qore.Object.Table
tgroup object_ =
    Object.selectionForCompositeField "tgroup" [] object_ (identity >> Decode.list)


id : SelectionSet (Maybe String) Qore.Object.Table
id =
    Object.selectionForField "(Maybe String)" "id" [] (Decode.string |> Decode.nullable)


altrender : SelectionSet (Maybe String) Qore.Object.Table
altrender =
    Object.selectionForField "(Maybe String)" "altrender" [] (Decode.string |> Decode.nullable)


audience : SelectionSet (Maybe String) Qore.Object.Table
audience =
    Object.selectionForField "(Maybe String)" "audience" [] (Decode.string |> Decode.nullable)


lang : SelectionSet (Maybe String) Qore.Object.Table
lang =
    Object.selectionForField "(Maybe String)" "lang" [] (Decode.string |> Decode.nullable)


script : SelectionSet (Maybe String) Qore.Object.Table
script =
    Object.selectionForField "(Maybe String)" "script" [] (Decode.string |> Decode.nullable)


colsep : SelectionSet (Maybe Bool) Qore.Object.Table
colsep =
    Object.selectionForField "(Maybe Bool)" "colsep" [] (Decode.bool |> Decode.nullable)


rowsep : SelectionSet (Maybe Bool) Qore.Object.Table
rowsep =
    Object.selectionForField "(Maybe Bool)" "rowsep" [] (Decode.bool |> Decode.nullable)


pgwide : SelectionSet (Maybe Bool) Qore.Object.Table
pgwide =
    Object.selectionForField "(Maybe Bool)" "pgwide" [] (Decode.bool |> Decode.nullable)
